package com.simple.behavior.classandclass.command;

/**
 * @author simple
 * @version 1.0
 * @date 2019-01-04 18:08
 * @since 1.0
 */
public class Invoker {
    private Command command;

    public Invoker(Command command) {
        this.command = command;
    }

    public void action() {
        command.exec();
    }
}
